@if(count($promote_records))
@foreach($promote_records as $promote_record)
<div class="recharge-record-item d-flex pt-3 pb-3 align-items-start">
    <div class="recharge-record-content flex-grow-1 d-flex flex-column">
        @if($promote_record->promote_type == 1)
        <span class="f14 badge badge-success" style="width: 66px">奖励积分</span>
        @else
        <span class="f14 badge badge-danger" style="width: 66px">扣除积分</span>
        @endif
        <b class="fn f14 mt-1">{{ $promote_record->promote_desc }}</b>
        <small>{{ $promote_record->created_at }}</small>
    </div>
    <div class="recharge-record-status d-flex flex-column align-items-end">
        @if($promote_record->promote_type == 1)
        <h4>+{{ $promote_record->promote_score }}</h4>
        @else
        <h4>-{{ $promote_record->promote_score }}</h4>
        @endif
    </div>
</div>
@endforeach
@else @endif
